package cn.hdu.liang.reusing;

class A {
    public A() {
        System.out.println("A");
    }
}

class B {
    public B() {
        System.out.println("B");
    }
}

class C extends A {
    private B b = new B();
}

public class Exam5 {
    public static void main(String[] args) {
        C c = new C();
    }
}
